Computer-assisted arthroplasty